<?php

use app\assets\HomeAsset;
use yii\widgets\LinkPager;

HomeAsset::register($this);
?>
<?php $this->beginPage(); ?>
    <!DOCTYPE html>
    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

        <meta http-equiv="Cache-Control" content="no-cache">
        <title>找工作</title>
        <meta http-equiv="keywords" content=" ">
        <meta http-equiv="description" content=" ">
        <meta http-equiv="X-UA-compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width" initial-scale="1">
        <meta name="viewport"
              content="width=device-width,initial-scale=1,minimum-scale=1, maximum-scale=1, user-scalable=no">
        <meta name="format-detection" content="telephone=no,email=no">
        <meta name="viewport"
              content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0, user-scalable=no, width=device-width">
        <link rel="stylesheet" href="home/index/css/job.css" type="text/css">
        <link rel="stylesheet" href="home/list/css/style.css" type="text/css">
        <link rel="stylesheet" href="home/index/css/css.css" type="text/css">
    </head>
    <body>
    <?php $this->beginBody(); ?>
    <div class="">
        <div class="body_wap">
            <header class="header_h">
                <div class="header_fixed">
                    <div class="header">
                        <div class="header_bg  "><a class="hd-lbtn"
                                                    href="<?php echo \yii\helpers\Url::toRoute('index'); ?>"><i
                                        class="header_top_l"></i></a>
                            <div class="header_h1">
                                企业列表
                            </div>

                        </div>
                    </div>
                </div>
            </header>
        </div>
    </div>

    <div class="clear"></div>
    <section>
        <div class="warp_content clear">

            <?php foreach ($model as $v): ?>
                <div class="job_list_box">
                    <a href="<?php echo \yii\helpers\Url::to(['user/enterprise-resume', 'id' => $v->id]); ?>">
                        <h3><font color="red"><?php echo $v->recruitment; ?> </font></h3>
                        <i class="job_list_box_jobtj"></i>
                        <div class="index_wap_joblist_yq_p">
                            <div class="index_wap_joblist_comname" style="padding:8px 0">
                            <span class="index_wap_joblist_comname_p"><?php echo $v->name; ?>
                                <img src="<?php echo $v->photo; ?>" style="vertical-align:middle">
                            </span>
                            </div>
                            <span class="index_wap_joblist_yq_s"><i
                                        class="index_wap_joblist_yq_sicon"></i><?php echo $v->range; ?>
      </span>
                            <span class="index_wap_joblist_yq_s"><i
                                        class="index_wap_joblist_yq_jyicon"></i><?php echo $v->jobtime; ?></span> <span
                                    class="index_wap_joblist_yq_s"><i
                                        class="index_wap_joblist_yq_xlicon"></i><?php echo $v->request; ?></span></div>
                        <div class="index_wap_joblist_flbox">
                            <span class="index_wap_joblist_fl"><?php echo $v->address; ?></span></div>
                        <div class="index_wap_joblist_xz">￥<?php echo $v->salary_2 ?></div>
                        <div class="index_wap_joblist_time"> 查看详情
                        </div>
                    </a>
                </div>
            <?php endforeach; ?>


            <div class="pages"><a
                        href="<?php echo \yii\helpers\Url::toRoute(['index/list']) . '&kind=0'; ?>">上一页</a><select
                        onchange="toPages()" id="pageChange">
                    <option value="<?php echo \yii\helpers\Url::toRoute(['index/list']) . '&kind=0'; ?>"
                            selected="selected">1
                    </option>
                    <option value="<?php echo \yii\helpers\Url::toRoute(['index/list']) . '&kind=0'; ?>">2</option>
                    <option value="<?php echo \yii\helpers\Url::toRoute(['index/list']) . '&kind=0'; ?>">3</option>
                </select><a
                        href="<?php echo \yii\helpers\Url::toRoute(['index/list']) . '&kind=0'; ?>">下一页</a><em>共3页</em>
                <script src="home/list/js/push.js"></script>
                <script>
                    function toPages(url) {
                        var obj = document.getElementById("pageChange");
                        window.location.href = obj.options[obj.selectedIndex].value;
                    }
                </script>
            </div>
        </div>
        </div>
    </section>

    <script src="home/index/js/jquery-1.8.0.min.js" language="javascript"></script>
    <script src="home/index/js/public.js" language="javascript"></script>
    <script src="home/list/js/prefixfree.min.js" language="javascript"></script>
    <link rel="stylesheet" href="home/list/css/wap_tck.css" type="text/css">
    <script src="home/list/js/demo.js" language="javascript"></script>
    <link rel="stylesheet" href="home/list/css/demo.css" type="text/css">

    <footer>
        <div class="clear"></div>
        <div class="footer_box_bot"></div>
        <div class="footer_sum">
            <div class="bottom_sum">
                <div class="bottom_con">
                    <div class="classify ">
                        <a href="<?php echo \yii\helpers\Url::toRoute('index'); ?>" id="indexclick"
                           class="fotter_nav_link">
                            <i class="footer_icon iconfont_home"></i>
                            <span class="fotter_nav_span">首页</span>
                        </a></div>
                    <div class="classify">
                        <a href="" class="fotter_nav_link">
                            <em class="fotter_nav_link">
                                <i class="footer_icon iconfont_jobhome"></i>
                                <span class="fotter_nav_span">找工作</span>
                            </em></a>
                    </div>


                    <div class="classify footer_nav_cur">
                        <a href="javascript:void(0);" id="jobclick" class="fotter_nav_link">
                            <i class="iconfont_homemore"></i>
                            <span class="iconfont_homemore_bg"></span> <span class="fotter_nav_span">&nbsp;</span>

                        </a>
                    </div>


                    <div class="classify">
                        <a href="<?php echo \yii\helpers\Url::to(['index/list', 'kind' => 1]); ?>"
                           id="resumeclickhttp://www.hr135.com/wap/index.php?c=resume" class="fotter_nav_link">
                            <em class="fotter_nav_link">
                                <i class="footer_icon iconfont_userhome"></i> <span class="fotter_nav_span">找人才</span>
                            </em> </a>

                    </div>
                    <div class="classify"><a href="<?php echo \yii\helpers\Url::toRoute('user/index'); ?>"
                                             id="memberclick"
                                             class="fotter_nav_link"> <i class="footer_icon iconfont_myhome"></i> <span
                                    class="fotter_nav_span">我的</span> </a></div>
                </div>
            </div>
        </div>
        <div style="width:100%;height:100%; background:rgba(0,0,0,0.9); position:fixed;left:0px;right:0px;bottom:0px;top:0px ; z-index:10000;display:none" id="footerjob">
            <div class="foot_nav_close"></div>
            <div class="foot_nav_box" style="width:100%; position:absolute;">

                <ul class="foot_nav_box_list">
                    <li> <a href="<?php echo \yii\helpers\Url::to(['index/list','kind'=>2]);?>" class="foot_nav_box_a"><span class="foot_nav_box_list_icon cor_3"><i class="nav_icon iconfont_part "></i></span><div class="foot_nav_box_name">找工作</div></a> </li>
                    <li> <a href="<?php echo \yii\helpers\Url::to(['index/list','kind'=>1]);?>" class="foot_nav_box_a"><span class="foot_nav_box_list_icon cor_2"><i class="nav_icon iconfont_comp "></i></span><div class="foot_nav_box_name">找人才</div></a> </li>
                    <li> <a href="<?php echo \yii\helpers\Url::toRoute('common/boss-entry');?>" class="foot_nav_box_a"><span class="foot_nav_box_list_icon cor_7"><i class="nav_icon iconfont_tiny "></i></span><div class="foot_nav_box_name">Boss入驻</div></a> </li>
                    <li> <a href="<?php echo \yii\helpers\Url::toRoute('index/feedback');?>" class="foot_nav_box_a"><span class="foot_nav_box_list_icon cor_4"><i class="nav_icon iconfont_once "></i></span><div class="foot_nav_box_name">意见反馈</div></a> </li>
                    <li> <a href="<?php echo \yii\helpers\Url::toRoute('index/about-us');?>" class="foot_nav_box_a"><span class="foot_nav_box_list_icon cor_5"><i class="nav_icon iconfont_map "></i></span><div class="foot_nav_box_name">关于我们</div></a></li>
                </ul>
            </div>
        </div>
    </footer>
    <script>
        var wapurl = "http://www.hr135.com/wap/", weburl = "http://www.hr135.com", pricename = "积分",
            integral_pricename = "积分", code_web = '注册会员,前台登录,店铺招聘,职场提问', code_kind = '3';
        $(document).ready(function () {
            $('#jobclick').click('click', function () {
                $('#footerjob').toggle();
                $('#footerresume').hide();
            });
            $('#footerjob').click('click', function () {
                $('#footerjob').hide();
            });
            $('#reg_mune_box').click('click', function () {
                $('#reg_mune').toggle();
                $('#footerresume').hide();
            });
            $('#reg_mune').click('click', function () {
                $('#reg_mune').hide();
            });
            $('#reg_mune_boxs').click('click', function () {
                $('#reg_mune').toggle();
                $('#footerresume').hide();
            });
            $('#reg_mune').click('click', function () {
                $('#reg_mune').hide();
            });
        });

    </script>
    <script>
        (function () {
            var bp = document.createElement('script');
            var curProtocol = window.location.protocol.split(':')[0];
            if (curProtocol === 'https') {
                bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
            }
            else {
                bp.src = 'http://push.zhanzhang.baidu.com/push.js';
            }
            var s = document.getElementsByTagName('script')[0];
            s.parentNode.insertBefore(bp, s);
        })();
    </script
    </body>
    <?php $this->endBody(); ?>
    </html>
<?php $this->endPage(); ?>